//
//  ReadColorCommand.h
//  Command
//
//  Created by Hechun on 2020/11/7.
//

#import "Command.h"

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^ReadColorCommandCallBack)(UIColor *color);

/// 阅读置灰命令
@interface ReadColorCommand : Command

/// 自定义普通颜色&已读颜色
- (void)customNormalColor:(UIColor *)normalColor readColor:(UIColor *)readColor;

/// 阅读置灰
- (void)saveNewsId:(NSString *)newsId finish:(ReadColorCommandCallBack)finish;

/// 获取颜色
- (void)colorWithNewsId:(NSString *)newsId finish:(ReadColorCommandCallBack)finish;

@end

NS_ASSUME_NONNULL_END
